package top.banner.contentcenter.configuration;

import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;
import ribbonconfiguration.RibbonConfiguration;

/**
 * 通过Java代码配置用户中心Ribbon的调用规则。
 *
 * @author XGL
 */
@Configuration
//@RibbonClient(name = "user-center", configuration = RibbonConfiguration.class)
@RibbonClients(defaultConfiguration = RibbonConfiguration.class)//全局配置
public class UserCenterRibbonConfiguration {
}
